<!--好友列表-->
{{#designer}}
<div class="friends">
    <h3>{{nickName}}的好友（{{followingsCount}}）</h3>
    <ul>
        {{#followings}}
        <li>
            <a href="#" class="pic">
                <img src="{{avatar}}"
                     alt="{{nickName}}"></a>
            <a href="{{contextpath}}/secure/followings/delete?followingId={{id}}"
               class="del" title="删除该好友">删除</a>
            <b>{{nickName}}</b>
        </li>
        {{/followings}}
    </ul>
</div>
{{/designer}}
<!-- 翻页 -->
<script>
    if (window.pageFunc) {
        pageFunc("{{contextpath}}/secure/followings?page={page}", "{{totalPage}}");
    }
</script>